﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wallpaper.Models.Interfaces;

namespace Wallpaper.Models.Entities
{
    /// <summary>
    /// 用户收藏实体（用户与壁纸的多对多关系）
    /// </summary>
    public class UserFavorite : BaseEntity
    {

        /// <summary>
        /// 用户ID
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 被收藏的壁纸ID
        /// </summary>
        public string WallpaperId { get; set; }

        /// <summary>
        /// 收藏时间
        /// </summary>
        public DateTime CreatedAt { get; set; }
    }

}
